package com.ruoyi.project.lely.bean.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import org.hibernate.validator.constraints.Length;

/**
 * 分享
 *
 * @author luoyong
 */
@Data
@ApiModel("分享 入参DTO")
public class LyAgencyShareDTO {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @Length(max = 255, message = "url地址长度不能超过255位")
    @ApiModelProperty("url地址")
    private String shareUrl;

    @ApiModelProperty("分享对象类型 1：商品 2：品牌商铺 3：团购")
    private Integer type;

    @ApiModelProperty("分享对象id")
    private Integer shareObjId;

}
